package com.kedsoft.docms.mapper;

import com.kedsoft.docms.entity.Rule;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LGP
 * @since 2018-11-13
 */
public interface RuleMapper extends BaseMapper<Rule> {
    List<Rule> list(Map<String, Object> condition);

    int count(Map<String, Object> condition);
}
